package com.shenzhenai.it_hei_ma.a12deadlock;

/**
 * @author huangzehui
 * @date 29/8/2025 上午12:06 周五
 * @description
 *
 *
 * 多线程&JUC-17-死锁
 * https://www.bilibili.com/video/BV1LG4y1T7n2?spm_id_from=333.788.videopod.episodes&vd_source=e07cc8cc94eb22bd76722071b03cd199&p=17
 */
public class ThreadDemo {

    public static void main(String[] args) {
        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();

        t1.setName("线程A");
        t2.setName("线程B");

        t1.start();
        t2.start();
    }

}
